import layout from "@/layout";

export default {
    path: "/article",
    component: layout,
    redirect: "/article/ranking",
    name: "articleCreate",
    meta: { title: "article", icon: "article" },
    children: [
        {
            path: "/article/create",
            component: () => import("@/views/article-create/index"),
            meta: {
                title: "articleCreate",
                icon: "article-create"
            }
        },
        {
            path: "/article/editor/:id",
            component: () => import("@/views/article-create/index"),
            meta: {
                title: "articleEditor"
            }
        }
    ]
};